package com.kong.dao;


import com.kong.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderDao {
     void add(Order order);
     List<Order> findByCondition(Order order);
     Map findById4Detail(Integer id);
     Integer findOrderCountByDate(String date);
     Integer findOrderCountAfterDate(String date);
     Integer findVisitsCountByDate(String date);
//     Integer findVisitsCountAfterDate(String date);
     List<Map> findHotSetmeal();

     int findCountByCondition(Order order);

    List<Map> getSetmealRepot();

     Integer findOrderCountBetweenDate(Map<String, Object> map);

     Integer findVisitsCountAfterDate(Map<String, Object> map);
}
